From: Sebastian Keller Date: Sun, 1 Mar 2026 01:37:51 +0000 (+0100) Subject: st/entry: Fix clutter action leak when unsetting icon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~26^2~1^2~28 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a77dbe3d883adb6232bd455ea3c3deb86a61ed50;p=gnome-shell.git st/entry: Fix clutter action leak when unsetting icon The name of the removed action did not match the added one anymore, effectively "leaking" an action whenever an icon was shown and hidden. This was primarily affecting the clear button in the shell search. Fixes: 0bf49afda ("Replace ClutterClickAction with new ClutterClickGesture") Part-of: --- diff --git a/src/st/st-entry.c b/src/st/st-entry.c index cf13331b3..ce3e08be3 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -1292,7 +1292,7 @@ _st_entry_set_icon (StEntry *entry, { if (*icon) { - clutter_actor_remove_action_by_name (*icon, "entry-icon-action"); + clutter_actor_remove_action_by_name (*icon, "entry-icon-click-gesture"); clutter_actor_remove_child (CLUTTER_ACTOR (entry), *icon); *icon = NULL; }